﻿<%@ Page Language="C#" MasterPageFile="~/Template/Site_Main.Master" AutoEventWireup="true" CodeBehind="notice_add.aspx.cs" Inherits="RegisterationSystem.Space_School.notice_add" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
    <script type="text/javascript">
      <!--
        $(function () {
            //设置导航位置
            setLocalToParent(1);
        });
        //-->
    </script>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="Place_Local" runat="server">
    <div class="localTitle">
        <a>发布新公告</a>
    </div>
</asp:Content>
<asp:Content ID="Content3" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
    <div class="loadheight">
        <table width="100%%" border="0" cellspacing="0" cellpadding="0">
            <tr>
                <td bgcolor="#FFFFFF">
                    <table width="100%%" border="0" cellspacing="0" cellpadding="0">
                        <tr>
                            <td class="cen_R_dh">
                                <strong>发布新公告</strong>
                            </td>
                        </tr>
                        <tr>
                            <td>
                                <div style="margin-top: 5px">
                                </div>
                                <table width="100%" border="0" cellspacing="0" cellpadding="0">
                                    <tr>
                                        <td width="120" height="20" align="center">
                                            公告标题：
                                        </td>
                                        <td>
                                            <asp:TextBox ID="txtname" runat="server" MaxLength="60" Width="400px"></asp:TextBox>
                                            <asp:RequiredFieldValidator ID="reqtxtname" runat="server" ErrorMessage="*" ControlToValidate="txtname"
                                                ValidationGroup="isfile"> </asp:RequiredFieldValidator>
                                        </td>
                                    </tr>
                                    <tr>
                                        <td height="1">
                                        </td>
                                        <td>
                                            &nbsp;
                                        </td>
                                    </tr>
                                    <tr>
                                        <td height="20" align="center">
                                            <span>接收对象：</span>
                                        </td>
                                        <td>
                                            <asp:DropDownList ID="ddlRecrive" runat="server" class="easyui-combobox" data-options="required:true,editable:false">
                                                <asp:ListItem Value="9">全部</asp:ListItem>
                                                <asp:ListItem Value="0">A类学生</asp:ListItem>
                                                <asp:ListItem Value="1">B类学生</asp:ListItem>
                                                <asp:ListItem Value="2">C类学生</asp:ListItem>
                                            </asp:DropDownList>
                                        </td>
                                    </tr>
                                    <tr>
                                        <td height="1">
                                        </td>
                                        <td>
                                            &nbsp;
                                        </td>
                                    </tr>
                                    <tr>
                                        <td height="20" align="center">
                                            <span>是否显示：</span>
                                        </td>
                                        <td>
                                            <asp:DropDownList ID="ddlstatus" runat="server" class="easyui-combobox" data-options="required:true,editable:false">
                                                <asp:ListItem Value="0">显示</asp:ListItem>
                                                <asp:ListItem Value="1">不显示</asp:ListItem>
                                            </asp:DropDownList>
                                        </td>
                                    </tr>
                                    <tr>
                                        <td height="1">
                                        </td>
                                        <td>
                                            &nbsp;
                                        </td>
                                    </tr>
                                    <tr>
                                        <td height="20" align="center">
                                            公告类容：
                                        </td>
                                        <td>
                                            <asp:TextBox ID="txtContent" runat="server" MaxLength="600" Width="400px" TextMode="MultiLine"
                                                Height="300px"></asp:TextBox>
                                        </td>
                                    </tr>
                                    <tr>
                                        <td height="1">
                                        </td>
                                        <td>
                                            &nbsp;
                                        </td>
                                    </tr>
                                    <tr>
                                        <td height="20" align="center">
                                            &nbsp;
                                        </td>
                                        <td>
                                            <asp:Button ID="Button1" runat="server" Text="提交" class="anniu" Width="73px" Height="23px"
                                             OnClick="Button1_Click"  />
                                            <%--<input type="submit" name="button2" id="button2" value="提交" class="anniu" width="73px"
                                                height="23px" onclick="return button2_onclick()" />--%>
                                        </td>
                                    </tr>
                                </table>
                            </td>
                        </tr>
                    </table>
                </td>
            </tr>
        </table>
    </div>
</asp:Content>
